package com.gxa.insurance.service;

import com.gxa.insurance.exception.BusinessException;
import com.gxa.insurance.pojo.Coupon;

import java.util.List;
import java.util.Map;

/**
 * @author lijunlin
 * @date 2022/6/6
 */
public interface CouponService {
    void addCoupon(Coupon coupon);
    Map<String, Object> selectByPage(Integer currentPage, Integer pageSize);
    Coupon selectById(Integer integer) throws BusinessException;
    void updateCoupon(Coupon coupon) throws Exception;


}
